{% extends 'Z/base.html' %}
{% load static %}
{# 重写不一样的板块 #}
{% block title %}
    HAOKE--账号注册
{% endblock %}
{% block link %}
<link rel="stylesheet" href="{% static 'css/user/register.css' %}">
{% endblock %}
{% block header %}
  <a href="{% url 'index' %}">Violet-space</a>
{% endblock %}
{% block main %}
   <div class="bg">
    <div class="slogan">
        <h2>欢迎登录!</h2>
        <h2>violet</h2>
        <h2>space</h2>
    </div>
   <div class="from-box">
       <div class="main">
          <h2>登录</h2>
           <form method="post">
               {% csrf_token %}
               <ul>
                     {{ form.as_ul }}
                   <li>
                       {{ message }}
                       <input type="submit" value="立即登录" class="submit-btn">
                   </li>
               </ul>

           </form>
           <div class="bottom-box">
               <a href="{% url 'register' %}">暂无账户 立即注册！</a>
           </div>
       </div>

   </div>
   </div>
{% endblock %}